package com.yonyou.pmclouds.safetypatrol.service.rmiitf;

import com.yonyou.pmclouds.basecom.exception.BusinessException;
import com.yonyou.pmclouds.safetypatrol.entity.SafetypatrolVO;

/**
 * @author 徐老板
 * @date 2020/4/16   18:53
 */
public interface SafetypatrolService {

    SafetypatrolVO insert(SafetypatrolVO safetypatrolVO) throws BusinessException;

    //插入示例图片
    SafetypatrolVO insertExamplePics(SafetypatrolVO safetypatrolVO) throws BusinessException;

    //新增模板页面的删除操作前端做 这里是首页展示检查标准的删除
    void delete(SafetypatrolVO safetypatrolVO) throws BusinessException;
    //修改操作
    SafetypatrolVO update(SafetypatrolVO safetypatrolVO) throws BusinessException;

    //启用状态
    SafetypatrolVO enable(SafetypatrolVO safetypatrolVO) throws BusinessException;

    //停用状态
    SafetypatrolVO disable(SafetypatrolVO safetypatrolVO) throws BusinessException;

    boolean referCheck(SafetypatrolVO safetypatrolVO) throws BusinessException;
}
